﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TR.Domain.Entity;
using TR.Domain.Entity.BsItemType;
using TR.Domain.Repository.BS_Item_TypeRepository;
using TR.Domain.Repository.sqlDto;

namespace TR.Domain.Repository.Bs_WareAreaRepository
{
    public interface Ibs_WareAreaRepository
    {
        //分页查询
        Task<FenYe<bs_Ware_Area>> WareArea_FenYeAsync(int pageSize, int currentPage, string str);
        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="warearea"></param>
        /// <returns></returns>
        Task<bool> WareAreaAdd(bs_Ware_Area warearea);

        //总数
        Task<int> count();
        /// <summary> 
        /// 逻辑删除
        /// </summary>
        /// <param name="area_code"></param>
        /// <returns></returns>
        Task<bool> WareAreaUDelect(int id);
        //修改
        Task<bs_Ware_Area> WareAreaSelectid(int id);
        //修改
        Task<bool> WareAreaUpdate(bs_Ware_Area uAd);

    }
}
